package com.xh.bussiness.tiku.dao;

import com.xh.bussiness.tiku.model.PaperQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 试卷试题 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface PaperQuestionMapper extends BaseMapper<PaperQuestion> {

    void deleteByPaperId(@Param("paperId") String paperId);

    /**
     * 根据试卷查询是通体id
     * @param paperId 试卷id
     * @return
     */
    List<String> queryQuestionIdByPaperId(@Param("paperId") String paperId);

}
